<?php
    header("Context-Type:application/json");
    require_once("../init.php");
    $sql = "SELECT * FROM dk_index_carousel";
    $result = mysqli_query($conn, $sql);
    echo json_encode(mysqli_fetch_all($result,1));
?>